package com.core.family.biz.yizhao.domain.po;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-6-14 17:05:09
 * @Description PO对象 常见问题表
 */
@Data
@TableName(value = "yz_issue")
public class YzIssue implements Serializable {


    /*
     *
     */
    @TableField(value = "id")
    private Integer id;

    /*
     *  问题标题
     */

    @TableField(value = "question")
    private String question;

    /*
     *  问题答案
     */

    @TableField(value = "answer")
    private String answer;

    /*
     *  创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "add_time")
    private Date addTime;

    /*
     *  更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time")
    private Date updateTime;

    /*
     *  逻辑删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

}
